package demo.auth.service;


import demo.common.auth.entity.UserInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface AuthService {

    // 用户登录
    void login(String userName, String password, HttpServletResponse response);
    // 查询用户信息
    UserInfo verifyUser(HttpServletRequest request, HttpServletResponse response);
    // 退出登录
    void logout(HttpServletRequest request, HttpServletResponse response);
}
